arr = [1,2,3,4,5];
ct=0;
while ct<5:
	t=raw_input();
	arr[ct] = int(t);
	ct = ct+1;
sum = 0;
for t in arr:
	sum += t;
print "sum = ",sum;
print "avg = ",sum/5.0;
